package mes.kanban.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 素材管理
 * @author gjy
 *
 * 2018年1月31日上午10:52:47
 */
@Table(name="mes_material")
@Entity
public class MesMaterial implements Serializable{

	private static final long serialVersionUID = 6572102365320489715L;
	
	@Id
	@GeneratedValue(generator="uuid")
	@GenericGenerator(name="uuid",strategy="org.hibernate.id.UUIDGenerator")
	@Column(name="ID")
	private String  id;
	
	/**
	 * 素材实际名称
	 */
	@Column(name="name")
	private String name;
	
	/**
	 * 素材名称
	 */
	@Column(name="material_name")
	private String materialName;
	
	/**
	 * 素材保存地址
	 */
	@Column(name="save_url")
	private String url;
	
	/**
	 * 创建时间
	 */
	@Column(name="createTime")
	private Date createTime;
	
	/**
	 * 创建人
	 */
	@Column(name="creator")
	private String creator;
	
	@Column(name="creatorName")
	private String creatorName;
	
	@Column(name="material_type")
	private String creatorType;
	
	@Column(name="material_type_desc")
	private String creatorTypeDesc;
	
	/**
	 * 图片sizie类型id
	 */
	@Column(name="bl_id")
	private String blId;
	/**
	 * 备注
	 */
	@Column(name="memo")
	private String memo;

	public String getId() {
		return id;
	}

	public String getCreatorTypeDesc() {
		return creatorTypeDesc;
	}

	public void setCreatorTypeDesc(String creatorTypeDesc) {
		this.creatorTypeDesc = creatorTypeDesc;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreatorType() {
		return creatorType;
	}

	public void setCreatorType(String creatorType) {
		this.creatorType = creatorType;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getMaterialName() {
		return materialName;
	}

	public void setMaterialName(String materialName) {
		this.materialName = materialName;
	}
	
	public void setCreatorName(String creatorName) {
		this.creatorName = creatorName;
	}
	
	public String getCreatorName() {
		return creatorName;
	}

	public String getHdc_businesslocation() {
		return blId;
	}

	public void setHdc_businesslocation(String hdc_businesslocation) {
		this.blId = hdc_businesslocation;
	}
	
}
